package com.qimu.saiyou.model.dto.question;

import com.qimu.saiyou.model.dto.questionanswer.QuestionAnswerUpdateRequest;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 更新请求
 *
 *@author: FeiXiang
 *
 */
@Data
public class QuestionUpdateRequest implements Serializable {
    private Long questionBankId;

    private Long id;
    private Long questionId;
    /**
     * 题目
     */
    private String content;

    /**
     * 类型：1单选 2多选 3判断 4主观
     */
    private Integer type;

    /**
     * 答案列表
     */
    private List<QuestionAnswerUpdateRequest> questionAnswerList;


    private static final long serialVersionUID = 1L;
}